package com.sunyard.constant;

/**
 * @author mazhao
 * @ClassName ErrMessageConst
 * @package com.sunyard.constant
 * @Description: 返回错误信息常量
 * @Date:2018/9/11 21:09
 * @Version: V1.0
 */

public class ErrMessageConst {

    //系统异常
    public static final String SYSTEM_ERROR = "系统异常";

    public static final String PARAM_ERROR = "参数错误";

    public static final String FORBIDDEN = "访问被拒绝";

    //登录相关
    public static final String PWD_IS_NULL = "请输入密码";
    public static final String PWD_IS_INIT = "首次登录，请修改密码";
    public static final String USERNAME_NOT_EXIST = "账号或密码错误";
    public static final String ACCOUNT_IS_LOCK = "该账号被锁定";
    public static final String PWD_OVERDUE = "密码已过期，请重置密码";
    public static final String PWD_SOON_OVERDUE = "密码即将到期";
    public static final String USERNAME_IS_NULL = "请输入登录用户名";
    public static final String MOBILE_IS_NULL = "请输入手机号";
    public static final String CHECKPWD_IS_NULL = "请输入短信验证码";
    public static final String OLDPWD_IS_ERROR = "原密码不正确";
    public static final String OLDPWD_IS_NULL = "请输入旧密码";
    public static final String NEWPWD_IS_NULL = "请输入新密码";
    public static final String ENTPWD_IS_NULL = "请确认密码";
    public static final String ACCOUNT_ERROR = "账号状态异常";
    public static final String ACCOUNT_STOPUSING = "该账号已停用";
    public static final String ACCOUNT_LOGOFF = "该账号已注销";
    public static final String STAY_MOBILE = "请使用预留手机号";
    public static final String MOBILE_FORMAT = "手机号格式有误";
    public static final String NEWPWD_ISLIKE_OLDPWD = "新密码不能与原密码相同";
    public static final String UPDATEPWDTIME_IS_NULL = "更新密码时间为空";
    public static final String MOBILE_USED_TOMUCH = "该手机号注册多个用户，请使用商户号、门店号或用户名登录";
    public static final String MOBILE_IS_UNVALID = "手机号码和用户名不匹配";

    public static final String CONTENT_CHECK_ERROR = "验证码错误";
    public static final String CONTENT_CHECK_INVALID = "验证码无效";
    public static final String CONTENT_TIMEOUT = "验证码超时";
    public static final String CONTENT_CHECK_NULL = "验证码不能为空";
    public static final String PWD_NO_ILLEGAL = "密码必须为6-18位,字母和数字的组合，不能为纯数字，也不能为纯字母";
    public static final String PWD_CHECK_ERROR = "两次新密码输入不一致，请重新输入";
    public static final String PWD_CHECK_ERROR2 = "新密码不可为初始密码";
    public static final String CONTENT_GET_OVERSPEED = "获取验证码过于频繁";
    public static final String SMS_NUM_EVERY = "验证码每天最多获取10次，今日已达获取上限";

    public static final String UPLOAD_EXCEL = "excel导入失败";

    public static final String MQ_EXCEPTINO = "mq通讯异常";
    //参数校验异常
    public static final String VIOLATION = "参数校验异常";
    //SQL异常
    public static final String SQL_EXCEPTION = "SQL异常";
    //JWT异常
    public static final String JWT_EXCEPTION = "JWT异常";
    //服务器统未捕获异常信息
    public static final String UN_EXCEPTION = "服务器统未捕获异常信息";
    //EsbService统未捕获异常信息
    public static final String UN_ESB_EXCEPTION = "服务器统未捕获异常信息";
    //NullPointerException
    public static final String NULL_EXCEPTION = "空指针异常";

    /**
     * 互金商户回调异常
     */
    public static final String HJ_10000004 = "商户回调异常";

    /**
     * 互金门店回调异常
     */
    public static final String HJ_10000005 = "门店回调异常";

    /**
     * 互金店员回调异常
     */
    public static final String HJ_10000006 = "店员回调异常";
}
